package io.renren.test;

import com.alibaba.fastjson.JSON;
import io.renren.common.utils.R;
import io.renren.source.HashMapTest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description:
 * @author: 阿海
 * @create: 2020-05-09 09:24
 */
@RestController
public class HelloWorld {

    /**
     * 验证码
     */
    @GetMapping("hello")
    public R captcha() {
        Map<String, Object> map = new HashMap<>();
        map.put("hello", "world");
        return R.ok(map);
    }

}
